package com.ruoyi.business.app.vo;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author zh
 * @description:
 * @date 2022/7/17 21:09
 */
@Data
@ApiModel("标题与内容Vo")
public class TitleAndContentVo {
    @ApiModelProperty("主键")
    private Long id;
    @ApiModelProperty("路径")
    private String pic;
    @ApiModelProperty("标题")
    private String title;
    @ApiModelProperty("简短内容")
    private String shortContent;
    @ApiModelProperty("内容")
    private String content;
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty("发布时间")
    private Date publishDate;
}
